Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(dialog): use margin instead of padding for icon #5184

Merged
merged 1 commit into from
Nov 13, 2023
Merged

fix(dialog): use margin instead of padding for icon #5184

merged 1 commit into from
Nov 13, 2023

Conversation

Staler2019
Copy link
Contributor

@Staler2019 Staler2019 commented Nov 11, 2023

Fixes #5182

The old version hide the md-icon in a md-dialog because of aggressive css rebooting of bootstrap.
My fix is to make the md-icon in md-dialog use margin-top instead of padding-top, and it fix the problem in my browser.

Thank to @christophe-g and @asyncLiz. They give me the opportunity to figure it out and to contribute this PR.

Copy link

google-cla bot commented Nov 11, 2023

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@Staler2019 Staler2019 marked this pull request as draft November 11, 2023 11:15
@Staler2019 Staler2019 marked this pull request as ready for review November 11, 2023 11:16
@Staler2019 Staler2019 marked this pull request as draft November 11, 2023 11:27
@Staler2019 Staler2019 marked this pull request as ready for review November 11, 2023 11:27
@Staler2019
Copy link
Contributor Author

Staler2019 commented Nov 11, 2023

How can I continue to make this PR after signed the CLA

@asyncLiz asyncLiz changed the title Fix #5182: dialog icon padding error fix(dialog): use margin instead of padding for icon Nov 13, 2023
@asyncLiz
Copy link
Collaborator

How can I continue to make this PR after signed the CLA

Had to re-scan, looks good now! Thanks for the PR :)

@copybara-service copybara-service bot merged commit 3e66c3e into material-components:main Nov 13, 2023
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

md-icon in md-dialog can not show up if with bootstrap 5
2 participants